<form id="foodForm" method="POST" action="food.php?act=added" enctype="multipart/form-data">
<table width="100%">
<tr>
<td>食材名称</td>
<td><input type="text" name="sName" id="sName" /></td>
</tr>
<tr>
<td>销售价格</td>
<td>
<input type="input" name="nPrice" id="nPrice" />
</td>
</tr>
<tr>
<td>搭配规则</td>
<td><input type="text" id="sMatch" name="sMatch" /></td>
</tr>
<tr>
<td>搭配难度系数</td>
<td><input type="text" id="nLevel" name="nLevel" /></td>
</tr>
<tr>
<td>食材说明</td>
<td><textarea id="sDescript" name="sDescript" rows="5" cols="40"></textarea></td>
</tr>
<tr>
<td>素材图片</td>
<td><input type="file" id="sUrl" name="sUrl" /></td>
</tr>
<tr>
<td></td>
<td align="left"><input type="submit" value="添加食材" /></td>
</tr>
</table>
</form>